import VDebug, { initTrace, setExternalContext } from 'react-native-vdebug';
import React, { Component } from "react";
import { View } from 'react-native'

export default class VDebugPanel extends Component {
  constructor(props) {
    super(props);
    this.state = {};
    // Before component Render, perform Proxy Console/Network (Optional)
    initTrace()
    // Context object when the command is executed (Optional)
    setExternalContext('your context')
  }

  render() {
    return (<View>
      <VDebug
        // Expansion panel (Optional)
        // Info panel (Optional)
        info={{ obj: 'your object' }}
      />
    </View>)
  }
}
